<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../../../base/plugins/layui/css/layui.css" media="all" />
	</head>

	<body>
				<!--
	作者：肖遥
	时间：2018-09-22
	描述：login
-->
		<div>
			<form class="layui-form" action="">
				<div class="layui-form-item">
					<label class="layui-form-label">角色名称</label>
					<div class="layui-input-block">
						<input type="text" name="title" required lay-verify="required" placeholder="请输入角色名称" autocomplete="off" class="layui-input">
					</div>
				</div>

				<div class="layui-form-item layui-form-text">
					<label class="layui-form-label">文本域</label>
					<div class="layui-input-block">
						<textarea name="desc" placeholder="请输入角色描述信息" class="layui-textarea"></textarea>
					</div>
				</div>

				<div class="layui-form-item">
					<label class="layui-form-label"></label>
					<div class="layui-input-block">
						<input type="checkbox" name="like[write]" title="角色管理">
						<input type="checkbox" name="like[write]" title="查询">
						<input type="checkbox" name="like[write]" title="新增">
						<input type="checkbox" name="like[write]" title="修改">
						<input type="checkbox" name="like[write]" title="删除">
						<input type="checkbox" name="like[write]" title="批量删除">
					</div>
					
					<div class="layui-input-block">
						<input type="checkbox" name="like[write]" title="用户管理">
						<input type="checkbox" name="like[write]" title="查询">
						<input type="checkbox" name="like[write]" title="新增">
						<input type="checkbox" name="like[write]" title="修改">
						<input type="checkbox" name="like[write]" title="删除">
						<input type="checkbox" name="like[write]" title="导入">
						<input type="checkbox" name="like[write]" title="导出">
					</div>

                   <div class="layui-input-block">
						<input type="checkbox" name="like[write]" title="操作日志">
						<input type="checkbox" name="like[write]" title="查询">
					</div>

                    <div class="layui-input-block">
						<input type="checkbox" name="like[write]" title="登录日志">
						<input type="checkbox" name="like[write]" title="查询">
					</div>
				</div>
				     
				     
				     	  <div class="layui-form-item">
                        <div class="layui-input-block">
				     	<button class="layui-btn">提交</button>
				     	<button  class="layui-btn layui-btn-primary">重置</button>
				     	<button   class="layui-btn layui-btn-danger">关闭</button>
				     	</div>
				     	</div>
				   
			</form>
		</div>
		<script src="../../../base/js/jquery-1.11.3.min.js"></script>
		<script src="../../../base/plugins/layui/layui.js"></script>
		<script type="text/javascript">
			layui.use('form', function() {
				var form = layui.form;

				//监听提交
				form.on('submit(formDemo)', function(data) {
					layer.msg(JSON.stringify(data.field));
					return false;
				});
			});
		</script>

	</body>

</html>
